package com.xiyuan.smartutils.client.ws.core.auth;

/**
 * The Class Credentials.
 *
 * @author xiyuan-lgz
 */
public class Credentials {
    
    /** The username. */
    private String username;
    
    /** The password. */
    private String password;
    
    /**
     * Instantiates a new credentials.
     *
     * @param username the username
     * @param password the password
     */
    public Credentials(String username, String password){
        this.username = username;
        this.password = password;
    }

    /**
     * Gets the username.
     *
     * @return the username
     */
    public String getUsername() {
        return username;
    }

    /**
     * Gets the password.
     *
     * @return the password
     */
    public String getPassword() {
        return password;
    }    
}
